Passing the order, the HC bench of Justice Naima Haider and Justice Khizir Ahmed Choudhury asked the government to implement it with retrospective effective from March 9, 2014.
All trained and untrained teachers will avail of the same opportunity, it said.
Advocate Salauddin Dolon who stood for the petitioner said Prime Minister Sheikh Hasina elevated the job of headmasters to class-II on March 9, 2014 and the Primary and Mass Education Ministry issued a gazette notification on the same day over it.
The Education Ministry provides salary to the headmasters of primary schools under grade-11 (those trained) and grade-12 (untrained) although it gives salary to other class-II employees under garade-10.
Later, 45 teachers, including Rias Pervez, president of Bangladesh Govt Primary Headmasters’ Association, filed a writ with the High Court challenging the legality of the government decision.