The ruling in the airline world is that two pilots who have a two crew restriction and need to operate with another qualified pilot are not allowed to fly together. Each one's medical restriction conflicts with the others licence so assuming a Class 2 interpretation is the same as that of a Class 1 I would do your best to pass your medical.
Good Luck.