"The petitioner Trust shall not campaign in favour of any political party," said a division bench of Justices M R Shah and R P Dholeria.
The camps won't have any hoardings or banners of a political party or leaders and political leaders won't be allowed at the venue.
The Trust had yesterday moved the High Court against the Election Commission's decision to cancel the permission granted for the yoga camps.
The HC also took an undertaking from the Trust that it would abide by the conditions.
The camps were scheduled for April 26 (Vadodara) and April 27 (Ahmedabad).