@Bianca *******
it’s not a grey area.
Either you’re doing the Divemaster course and pay for this course in full. You can do this with a tourist visa (single entry or multiple entry) or if you return within 60 days you can make use of the visa exempt.
Or you are doing your Divemaster course as an intern where part of your course is “paid” by working for the dive club. In that case you’re not a tourist but an employer…
In the past, most western Divemasters were working illegally and stayed in the country on tourist visa with monthly ‘visa runs”. But I wouldn’t take that risk anymore.